home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• The School House •
/
Camera(HFS) •••
/
Camera(HFS) еее.rsrc
/
CODE_9.txt
< prev
next >
Wrap
Text File
|
1992-01-01
|
20KB
|
356 lines
# near model CODE resource
# jump table entries: 952-954 (3 of them)
export_119:
fn00000000:
00000000 4E56 FCB6 link A6, -0x034A
00000004 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000008 206E 000C movea.l A0, [A6 + 0xC]
0000000C 43EE FFC0 lea.l A1, [A6 - 0x40]
00000010 7010 moveq.l D0, 0x10
label00000012:
00000012 22D8 move.l [A1]+, [A0]+
00000014 5340 subq.w D0, 1
00000016 6EFA bgt -0x4 /* 00000012 */
00000018 206E 0008 movea.l A0, [A6 + 0x8]
0000001C 43EE FEC0 lea.l A1, [A6 - 0x140]
00000020 7040 moveq.l D0, 0x40
label00000022:
00000022 22D8 move.l [A1]+, [A0]+
00000024 5340 subq.w D0, 1
00000026 6EFA bgt -0x4 /* 00000022 */
00000028 3E2E 0010 move.w D7, [A6 + 0x10]
0000002C 4A47 tst.w D7
0000002E 677C beq +0x7E /* 000000AC */
00000030 42A7 clr.l -[A7]
00000032 2F3A 0090 move.l -[A7], [PC + 0x90 /* 000000C4, value 0x46455252 'FERR' */]
00000036 3F07 move.w -[A7], D7
00000038 A9A0 syscall GetResource
0000003A 285F movea.l A4, [A7]+
0000003C 4267 clr.w -[A7]
0000003E A9AF syscall ResError
00000040 4A5F tst.w [A7]+
00000042 6614 bne +0x16 /* 00000058 */
00000044 2054 movea.l A0, [A4]
00000046 43EE FCBC lea.l A1, [A6 - 0x344]
0000004A 7040 moveq.l D0, 0x40
label0000004C:
0000004C 22D8 move.l [A1]+, [A0]+
0000004E 5340 subq.w D0, 1
00000050 6EFA bgt -0x4 /* 0000004C */
00000052 2F0C move.l -[A7], A4
00000054 A9A3 syscall ReleaseResource
00000056 6004 bra +0x6 /* 0000005C */
label00000058:
00000058 422E FCBC clr.b [A6 - 0x344]
label0000005C:
0000005C 302E 0012 move.w D0, [A6 + 0x12]
00000060 6706 beq +0x8 /* 00000068 */
00000062 5340 subq.w D0, 1
00000064 670E beq +0x10 /* 00000074 */
00000066 6016 bra +0x18 /* 0000007E */
label00000068:
00000068 42A7 clr.l -[A7]
0000006A 3F3C 012C move.w -[A7], 0x12C
0000006E A9BA syscall GetString
00000070 265F movea.l A3, [A7]+
00000072 600A bra +0xC /* 0000007E */
label00000074:
00000074 42A7 clr.l -[A7]
00000076 3F3C 012D move.w -[A7], 0x12D
0000007A A9BA syscall GetString
0000007C 265F movea.l A3, [A7]+
label0000007E:
0000007E 48C7 ext.l D7
00000080 2F07 move.l -[A7], D7
00000082 486E FDC0 pea.l [A6 - 0x240]
00000086 4EAD 00DA jsr [A5 + 0xDA /* export_23 */]
0000008A 2F13 move.l -[A7], [A3]
0000008C 486E FFC0 pea.l [A6 - 0x40]
00000090 486E FDC0 pea.l [A6 - 0x240]
00000094 486E FCBC pea.l [A6 - 0x344]
00000098 A98B syscall ParamText
0000009A 486D FD10 pea.l [A5 - 0x2F0]
0000009E A851 syscall SetCursor
000000A0 4267 clr.w -[A7]
000000A2 3F3C 012C move.w -[A7], 0x12C
000000A6 42A7 clr.l -[A7]
000000A8 A986 syscall StopAlert
000000AA 3C1F move.w D6, [A7]+
label000000AC:
000000AC 4A47 tst.w D7
000000AE 56C0 sne D0
000000B0 4400 neg.b D0
000000B2 1D40 0014 move.b [A6 + 0x14], D0
000000B6 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000000BA 4E5E unlink A6
000000BC 205F movea.l A0, [A7]+
000000BE DEFC 000C add.w A7, 0xC
000000C2 4ED0 jmp [A0]
000000C4 4645 not.w D5
000000C6 5252 addq.w [A2], 1
export_121:
fn000000C8:
000000C8 4E56 FFBA link A6, -0x0046
000000CC 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
000000D0 206E 0012 movea.l A0, [A6 + 0x12]
000000D4 43EE FFC0 lea.l A1, [A6 - 0x40]
000000D8 7010 moveq.l D0, 0x10
label000000DA:
000000DA 22D8 move.l [A1]+, [A0]+
000000DC 5340 subq.w D0, 1
000000DE 6EFA bgt -0x4 /* 000000DA */
000000E0 4267 clr.w -[A7]
000000E2 486E FFC0 pea.l [A6 - 0x40]
000000E6 3F2E 0010 move.w -[A7], [A6 + 0x10]
000000EA 2F2E 000C move.l -[A7], [A6 + 0xC]
000000EE 4EAD 006A jsr [A5 + 0x6A /* export_9 */]
000000F2 3E1F move.w D7, [A7]+
000000F4 4267 clr.w -[A7]
000000F6 4267 clr.w -[A7]
000000F8 3F07 move.w -[A7], D7
000000FA 486E FFC0 pea.l [A6 - 0x40]
000000FE 487A 009E pea.l [PC + 0x9E /* 0000019E, value 0xE524F70, pstring "ROpen : FSOpen" */]
00000102 4EBA FEFC jsr [PC - 0x104 /* 00000000 */]
00000106 1C1F move.b D6, [A7]+
00000108 2006 move.l D0, D6
0000010A 0A00 0001 xori.b D0, 0x1
0000010E 6756 beq +0x58 /* 00000166 */
00000110 4267 clr.w -[A7]
00000112 206E 000C movea.l A0, [A6 + 0xC]
00000116 3F10 move.w -[A7], [A0]
00000118 3F3C 0001 move.w -[A7], 0x1
0000011C 42A7 clr.l -[A7]
0000011E 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
00000122 3E1F move.w D7, [A7]+
00000124 4267 clr.w -[A7]
00000126 4267 clr.w -[A7]
00000128 3F07 move.w -[A7], D7
0000012A 486E FFC0 pea.l [A6 - 0x40]
0000012E 487A 005E pea.l [PC + 0x5E /* 0000018E, value 0xF524F70, pstring "ROpen : SetFPos" */]
00000132 4EBA FECC jsr [PC - 0x134 /* 00000000 */]
00000136 1A1F move.b D5, [A7]+
00000138 2005 move.l D0, D5
0000013A 0A00 0001 xori.b D0, 0x1
0000013E 6726 beq +0x28 /* 00000166 */
00000140 4267 clr.w -[A7]
00000142 206E 000C movea.l A0, [A6 + 0xC]
00000146 3F10 move.w -[A7], [A0]
00000148 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000014C 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
00000150 3E1F move.w D7, [A7]+
00000152 4267 clr.w -[A7]
00000154 4267 clr.w -[A7]
00000156 3F07 move.w -[A7], D7
00000158 486E FFC0 pea.l [A6 - 0x40]
0000015C 487A 0020 pea.l [PC + 0x20 /* 0000017E, value 0xE524F70, pstring "ROpen : GetEOF" */]
00000160 4EBA FE9E jsr [PC - 0x162 /* 00000000 */]
00000164 181F move.b D4, [A7]+
label00000166:
00000166 2006 move.l D0, D6
00000168 8005 or.b D0, D5
0000016A 8004 or.b D0, D4
0000016C 1D40 0016 move.b [A6 + 0x16], D0
00000170 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
00000174 4E5E unlink A6
00000176 205F movea.l A0, [A7]+
00000178 DEFC 000E add.w A7, 0xE
0000017C 4ED0 jmp [A0]
0000017E 0E52 4F70 .invalid.w [A2], 0x4F70 /* 'Op' */ // invalid immediate operation
00000182 656E bcs +0x70 /* 000001F2 */
00000184 203A 2047 move.l D0, [PC + 0x2047 /* 000021CD, cstring ""<EOF> */]
00000188 6574 bcs +0x76 /* 000001FE */
0000018A 454F chk.w D2, A7
0000018C 4600 not.b D0
0000018E 0F52 bchg [A2], D7
00000190 4F70 656E chk.w D7, <<invalid full ext with IS == 1 and I/IS == 6>>
00000194 203A 2053 move.l D0, [PC + 0x2053 /* 000021E9, cstring ""<EOF> */]
00000198 6574 bcs +0x76 /* 0000020E */
0000019A 4650 not.w [A0]
0000019C 6F73 ble +0x75 /* 00000211 */
0000019E 0E52 4F70 .invalid.w [A2], 0x4F70 /* 'Op' */ // invalid immediate operation
000001A2 656E bcs +0x70 /* 00000212 */
000001A4 203A 2046 move.l D0, [PC + 0x2046 /* 000021EC, cstring ""<EOF> */]
000001A8 534F subq.w A7, 1
000001AA 7065 moveq.l D0, 0x65
000001AC 6E00 4E56 bgt +0x4E58 /* 00005004 */
export_120: // at 000001AE (misaligned)
000001B0 FEA0 2F07 .extension 0xEA0 <<F/2-3/7>> // unimplemented
000001B4 206E 001C movea.l A0, [A6 + 0x1C]
000001B8 43EE FF00 lea.l A1, [A6 - 0x100]
000001BC 7040 moveq.l D0, 0x40
label000001BE:
000001BE 22D8 move.l [A1]+, [A0]+
000001C0 5340 subq.w D0, 1
000001C2 6EFA bgt -0x4 /* 000001BE */
000001C4 3D7C 0052 FEFE move.w [A6 - 0x102], 0x52 /* 'R' */
000001CA 3D7C 0028 FEFC move.w [A6 - 0x104], 0x28 /* '(' */
000001D0 2D6E 0018 FEEC move.l [A6 - 0x114], [A6 + 0x18]
000001D6 7E01 moveq.l D7, 0x01
000001D8 1D7C 0001 FEA2 move.b [A6 - 0x15E], 0x1
000001DE 102D FD91 move.b D0, [A5 - 0x26F]
000001E2 6700 00F4 beq +0xF6 /* 000002D8 */
000001E6 4AAD FDB2 tst.l [A5 - 0x24E]
000001EA 6700 00EC beq +0xEE /* 000002D8 */
000001EE 4207 clr.b D7
000001F0 41EE 0018 lea.l A0, [A6 + 0x18]
// begin alternate branch 000001F2-000001FA
label000001F2:
000001F2 0018 43FA ori.b [A0]+, 0xFA
000001F6 0178 7003 bchg [0x00007003], D0
// end alternate branch 000001F2-000001FA
label000001F2: // (misaligned)
000001F4 43FA 0178 lea.l A1, [PC + 0x178 /* 0000036E, value 0x54455854 'TEXT', pstring "EXT" */]
000001F8 7003 moveq.l D0, 0x03
label000001FA:
000001FA B109 cmpm.b [A0]+, [A1]+
000001FC 56C8 FFFC dbne D0, -0x6 /* 000001FA */
// begin alternate branch 000001FE-00000200
label000001FE:
000001FE FFFC .invalid <<F/7/7>>
// end alternate branch 000001FE-00000200
label000001FE: // (misaligned)
00000200 57C0 seq D0
00000202 206D FDB2 movea.l A0, [A5 - 0x24E]
00000206 2050 movea.l A0, [A0]
00000208 4868 0012 pea.l [A0 + 0x12]
0000020C 487A 0156 pea.l [PC + 0x156 /* 00000364, value 0x5245 'RE', cstring "" */]
// begin alternate branch 0000020E-00000210
label0000020E:
0000020E 0156 bchg [A6], D0
// end alternate branch 0000020E-00000210
label0000020E: // (misaligned)
00000210 4EAD 01C2 jsr [A5 + 0x1C2 /* export_52 */]
// begin alternate branch 00000212-00000214
label00000212:
00000212 01C2 .incomplete
// end alternate branch 00000212-00000214
label00000212: // (misaligned)
00000214 C01F and.b D0, [A7]+
00000216 6726 beq +0x28 /* 0000023E */
00000218 206D FDB2 movea.l A0, [A5 - 0x24E]
0000021C 2050 movea.l A0, [A0]
0000021E 43EE FEAC lea.l A1, [A6 - 0x154]
00000222 41E8 0012 lea.l A0, [A0 + 0x12]
00000226 7010 moveq.l D0, 0x10
label00000228:
00000228 22D8 move.l [A1]+, [A0]+
0000022A 5340 subq.w D0, 1
0000022C 6EFA bgt -0x4 /* 00000228 */
0000022E 206D FDB2 movea.l A0, [A5 - 0x24E]
00000232 2050 movea.l A0, [A0]
00000234 3D68 000C FEA8 move.w [A6 - 0x158], [A0 + 0xC]
0000023A 6000 009C bra +0x9E /* 000002D8 */
label0000023E:
0000023E 41EE 0018 lea.l A0, [A6 + 0x18]
00000242 43FA 0126 lea.l A1, [PC + 0x126 /* 0000036A, value 0x524F424A 'ROBJ', pstring "OBJTEXT" */]
00000246 7003 moveq.l D0, 0x03
label00000248:
00000248 B109 cmpm.b [A0]+, [A1]+
0000024A 56C8 FFFC dbne D0, -0x6 /* 00000248 */
0000024E 57C0 seq D0
00000250 206D FDB2 movea.l A0, [A5 - 0x24E]
00000254 2050 movea.l A0, [A0]
00000256 4868 0052 pea.l [A0 + 0x52]
0000025A 487A 0108 pea.l [PC + 0x108 /* 00000364, value 0x5245 'RE', cstring "" */]
0000025E 4EAD 01C2 jsr [A5 + 0x1C2 /* export_52 */]
00000262 C01F and.b D0, [A7]+
00000264 6724 beq +0x26 /* 0000028A */
00000266 206D FDB2 movea.l A0, [A5 - 0x24E]
0000026A 2050 movea.l A0, [A0]
0000026C 43EE FEAC lea.l A1, [A6 - 0x154]
00000270 41E8 0052 lea.l A0, [A0 + 0x52]
00000274 7010 moveq.l D0, 0x10
label00000276:
00000276 22D8 move.l [A1]+, [A0]+
00000278 5340 subq.w D0, 1
0000027A 6EFA bgt -0x4 /* 00000276 */
0000027C 206D FDB2 movea.l A0, [A5 - 0x24E]
00000280 2050 movea.l A0, [A0]
00000282 3D68 000E FEA8 move.w [A6 - 0x158], [A0 + 0xE]
00000288 604E bra +0x50 /* 000002D8 */
label0000028A:
0000028A 41EE 0018 lea.l A0, [A6 + 0x18]
0000028E 43FA 00D6 lea.l A1, [PC + 0xD6 /* 00000366, value 0x52455845 'REXE', pstring "EXEROBJTEXT" */]
00000292 7003 moveq.l D0, 0x03
label00000294:
00000294 B109 cmpm.b [A0]+, [A1]+
00000296 56C8 FFFC dbne D0, -0x6 /* 00000294 */
0000029A 57C0 seq D0
0000029C 206D FDB2 movea.l A0, [A5 - 0x24E]
000002A0 2050 movea.l A0, [A0]
000002A2 4868 0092 pea.l [A0 + 0x92]
000002A6 487A 00BC pea.l [PC + 0xBC /* 00000364, value 0x5245 'RE', cstring "" */]
000002AA 4EAD 01C2 jsr [A5 + 0x1C2 /* export_52 */]
000002AE C01F and.b D0, [A7]+
000002B0 6724 beq +0x26 /* 000002D6 */
000002B2 206D FDB2 movea.l A0, [A5 - 0x24E]
000002B6 2050 movea.l A0, [A0]
000002B8 43EE FEAC lea.l A1, [A6 - 0x154]
000002BC 41E8 0092 lea.l A0, [A0 + 0x92]
000002C0 7010 moveq.l D0, 0x10
label000002C2:
000002C2 22D8 move.l [A1]+, [A0]+
000002C4 5340 subq.w D0, 1
000002C6 6EFA bgt -0x4 /* 000002C2 */
000002C8 206D FDB2 movea.l A0, [A5 - 0x24E]
000002CC 2050 movea.l A0, [A0]
000002CE 3D68 0010 FEA8 move.w [A6 - 0x158], [A0 + 0x10]
000002D4 6002 bra +0x4 /* 000002D8 */
label000002D6:
000002D6 7E01 moveq.l D7, 0x01
label000002D8:
000002D8 41ED FD80 lea.l A0, [A5 - 0x280]
000002DC 43EE FF00 lea.l A1, [A6 - 0x100]
000002E0 20D9 move.l [A0]+, [A1]+
000002E2 20D9 move.l [A0]+, [A1]+
000002E4 20D9 move.l [A0]+, [A1]+
000002E6 1007 move.b D0, D7
000002E8 6720 beq +0x22 /* 0000030A */
000002EA 2F2E FEFC move.l -[A7], [A6 - 0x104]
000002EE 486E FF00 pea.l [A6 - 0x100]
000002F2 42A7 clr.l -[A7]
000002F4 3F3C 0001 move.w -[A7], 0x1
000002F8 486E FEEC pea.l [A6 - 0x114]
000002FC 41ED 013A lea.l A0, [A5 + 0x13A /* export_35 */]
00000300 2F08 move.l -[A7], A0
00000302 486E FEA2 pea.l [A6 - 0x15E]
00000306 4EAD 0192 jsr [A5 + 0x192 /* export_46 */]
label0000030A:
0000030A 1D7C 0001 0020 move.b [A6 + 0x20], 0x1
00000310 102E FEA2 move.b D0, [A6 - 0x15E]
00000314 0A00 0001 xori.b D0, 0x1
00000318 670A beq +0xC /* 00000324 */
0000031A 206E 0014 movea.l A0, [A6 + 0x14]
0000031E 30BC 013A move.w [A0], 0x13A
00000322 6034 bra +0x36 /* 00000358 */
label00000324:
00000324 206E 0014 movea.l A0, [A6 + 0x14]
00000328 43EE FEAC lea.l A1, [A6 - 0x154]
0000032C 7010 moveq.l D0, 0x10
label0000032E:
0000032E 20D9 move.l [A0]+, [A1]+
00000330 5340 subq.w D0, 1
00000332 6EFA bgt -0x4 /* 0000032E */
00000334 206E 000C movea.l A0, [A6 + 0xC]
00000338 30AE FEA8 move.w [A0], [A6 - 0x158]
0000033C 4267 clr.w -[A7]
0000033E 2F2E 0014 move.l -[A7], [A6 + 0x14]
00000342 206E 000C movea.l A0, [A6 + 0xC]
00000346 3F10 move.w -[A7], [A0]
00000348 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000034C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000350 4EBA FD76 jsr [PC - 0x28A /* 000000C8 */]
00000354 1D5F 0020 move.b [A6 + 0x20], [A7]+
label00000358:
00000358 2E1F move.l D7, [A7]+
0000035A 4E5E unlink A6
0000035C 205F movea.l A0, [A7]+
0000035E DEFC 0018 add.w A7, 0x18
00000362 4ED0 jmp [A0]
00000364 0000 5245 ori.b D0, 0x45 /* 'E' */
00000368 5845 addq.w D5, 4
0000036A 524F addq.w A7, 1
0000036C 424A clr.w A2
0000036E 5445 addq.w D5, 2
00000370 5854 addq.w [A4], 4